#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(int argc, char *argv[])
{
    unsigned int usi_num;
    scanf("%u", &usi_num);
    printf("usi_num = %u\n", usi_num);
    
    signed int si_num;
    scanf("%d", &si_num);
    printf("si_num = %d\n", si_num);
    

    int array[3];
    for(int i = 0; i < sizeof(array) / sizeof(int); i++)
    {
        scanf("%d", &array[i]);
        //scanf("%d", array + i);
    }
    for(int i = 0; i < sizeof(array) / sizeof(int); i++)
    {
        printf("array[%d] = %d\n", i, array[i]);
    }

    char ch;
    getchar();
    scanf("%c",&ch);
    printf("ch = %c\n",ch);

    char *ptr;
    ptr = (char *)malloc(sizeof(char)*100);
    scanf("%s", ptr);
    printf("ptr = %s\n", ptr);
    // while(*ptr != '\0')
    // {
    //     printf("%c",*ptr);
    //     ptr++;
    // }
    // printf("\n");

    char src[100];
    char temp;
    // scanf("%s", src);
    // for(int i = 0; i < sizeof(src) / sizeof(char);i++)
    // {
    //     scanf("%c",temp);
    //     if(temp == '#')
    //     {
    //         src[i] = '\0';
    //         break;
    //     }
    //     src[i] = temp;
    // }
    int i = 0;
    while(temp = getchar() != '#')
    {
        src[i] = temp;
        i++;
    }
    src[i] = '\0';

    printf("src = %s\n", src);
    // for(int i = 0; src[i] != '\0';i++)
    // {
    //     printf("%c",src[i]);
    // }
    // printf("\n");

    short s_num;
    scanf("%hd", &s_num);
    printf("s_num = %d\n", s_num);

    long l_num;
    scanf("%ld", &l_num);
    printf("l_num = %ld\n", l_num);

    float f_num;
    scanf("%f",&f_num);
    printf("f_num = %lf\n",f_num);

    double d_num;
    scanf("%lf",&d_num);
    printf("d_num = %lf\n", d_num);
    
    printf("\033[47;31mhello world\033[5m");

    

}